package com.cloudsigns.factorymanager2.engineering.bean;

import com.cloudsigns.factorymanager2.cusenum.CommonEnum;

import java.io.Serializable;

/**
 * 工单父类
 * Created by tony on 2018/3/19.
 */

public class OrderParentBean implements Serializable {
    /*订单id*/
    private String id = "";
    //    父id, 当这个字段有值的时候，说明这个是批量的一个子项，批量安装单的时候会用到
    private String parentId;
    private CommonEnum.EngineeringORderCategory category;
    /* /*创建时间*/
    private Long createDate;
    /*工程名称*/
    private String engineeringName = "";
    /*项目名称*/
    private String projectName = "";
    /*派单时间*/
    private long sendOrderTime;
    /*订单状态*/
    private CommonEnum.EngineeringOrderStatus status;
    /*是否暂停工单*/
    private boolean hasPauseOrder;
    /*工程地址*/
    private String engineeringAddress;
    /*子项id。当是批量安装订时，就会有子项id*/
    private String itemId;
    /*纬度*/
    private double lat;
    /*经度*/
    private double lon;
    /*反馈状态*/
    private CommonEnum.FeedBackState feedBackState;
    /*订单完结状态*/
    private CommonEnum.CompleteStatus completeStatus;


    public String getId() {
        return id;
    }

    public CommonEnum.EngineeringORderCategory getCategory() {
        return category;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public String getEngineeringName() {
        return engineeringName;
    }

    public String getProjectName() {
        return projectName;
    }

    public long getSendOrderTime() {
        return sendOrderTime;
    }

    public CommonEnum.EngineeringOrderStatus getStatus() {
        return status;
    }

    public boolean isHasPauseOrder() {
        return hasPauseOrder;
    }

    public String getEngineeringAddress() {
        return engineeringAddress;
    }

    public String getItemId() {
        return itemId;
    }

    public double getLat() {
        return lat;
    }

    public double getLon() {
        return lon;
    }

    public String getParentId() {
        return parentId;
    }

    public CommonEnum.FeedBackState getFeedBackState() {
        return feedBackState;
    }

    public CommonEnum.CompleteStatus getCompleteStatus() {
        return completeStatus;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setCategory(CommonEnum.EngineeringORderCategory category) {
        this.category = category;
    }

    public void setCreateDate(Long createDate) {
        this.createDate = createDate;
    }

    public void setEngineeringName(String engineeringName) {
        this.engineeringName = engineeringName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setSendOrderTime(long sendOrderTime) {
        this.sendOrderTime = sendOrderTime;
    }

    public void setStatus(CommonEnum.EngineeringOrderStatus status) {
        this.status = status;
    }

    public void setHasPauseOrder(boolean hasPauseOrder) {
        this.hasPauseOrder = hasPauseOrder;
    }

    public void setEngineeringAddress(String engineeringAddress) {
        this.engineeringAddress = engineeringAddress;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public void setFeedBackState(CommonEnum.FeedBackState feedBackState) {
        this.feedBackState = feedBackState;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public void setCompleteStatus(CommonEnum.CompleteStatus completeStatus) {
        this.completeStatus = completeStatus;
    }
}
